package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Comments;
import cn.imvc.data.domain.ViewRequest;

public interface CommentsModel {
	Page<Comments> find(ViewRequest viewRequest);
	
	Comments get(int id);

	Comments save(Comments comments);
	
	Comments update(Comments comments);

	void delete(int id);

	void deleteBatch(int[] ids);
}
